//
//  MyCocos2DClass.m
//  BeautyGuessFree
//
//  Created by Charles How on 12-4-15.
//  Copyright 2012年 hust. All rights reserved.
//

#import "cocos2d.h"

#import <UIKit/UIKit.h>
#import <StoreKit/StoreKit.h>
#import "MKStoreManager.h"

#import <UIKit/UIView.h>
#import <UIKit/UIKitDefines.h>

#import "GameKitHelper.h"

#import "AdViewController.h"


#define MAX_GC_LAYER_BOARD_PER_LINE  (2)

enum GC_MENU_ENUM {
	GC_MENU_ITEM_LB=0,
	GC_MENU_ITEM_AC,
	GC_MENU_ITEM_BACK,
    GC_MENU_ITEM_ALL_BOARD,
};

@interface GameCenterLayer : CCLayer<AdViewControllerDelegate>
{
	CCMenuItem	*disabledItem;
	
	NSMutableArray * menuItemArray;
	
	CCMenuItem *back;
	

	CCMenu *menu;
    
	UIActivityIndicatorView * activityIndicatorView;
    
    
    AdViewController	*adController;
}


-(UIImage *)resizeImage:(UIImage *)image andScaleX:(float)scaleX andScaleY:(float)scaleY;

@end
